package com.elong.businesstravel.protocol.login;

import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;

import org.apache.http.HttpEntity;
import org.apache.http.entity.StringEntity;
import org.json.JSONObject;

import android.content.Context;

import com.android.support.jhf.network.loopj.android.http.RequestParams;
import com.elong.businesstravel.base.mcrypt.MCrypt;
import com.elong.businesstravel.include.Version;
import com.elong.businesstravel.protocol.ProtocolDef;
import com.elong.businesstravel.protocol.baserequest.BaseELongHttpRequest;
/**
 * 填写邀请码
 * @author lenovo
 *
 */
public class MemberReccommendRequest extends BaseELongHttpRequest {
	
	// 'version' => array ('type' => 'float'),
	// 'debug' => array ('type' => 'string','mast' => 'N'),
	// 'mobile' => array ('type' => 'number'),
	// 'deviceid' => array ('type' => 'string','mast' => 'N'),
	// 'token' => array ('type' => 'string','mast' => 'N')

	public MemberReccommendRequest(Context context, String uid, String phoneNumString) {
		super(context);
		try {
			JSONObject jsonObject = new JSONObject();
			jsonObject.put("mobile", phoneNumString);
			setRequestActionParam(ProtocolDef.ACTION_Memberrecommend, jsonObject);
		} catch (Exception e) {
			e.printStackTrace();
		}
		
	}
}
